﻿using System;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;

namespace GroupMeal.Activities
{
    public class Activity : AuditedEntity<Guid>, IMultiTenant
    {
        /// <summary>
        /// 租户Id
        /// </summary>
        public virtual Guid? TenantId
        { 
            get; set; 
        }

        /// <summary>
        /// 活动名称
        /// </summary>
        public virtual string Name
        {
            get;set;
        }


        /// <summary>
        /// 活动类型
        /// </summary>
        public virtual ActivityType Type
        {
            get;set;
        }

        /// <summary>
        /// 开始时间
        /// </summary>
        public virtual DateTime StartTime
        {
            get;set;
        }

        /// <summary>
        /// 结束时间
        /// </summary>
        public virtual DateTime EndTime
        {
            get;set;
        }

        /// <summary>
        /// 是否有效
        /// </summary>
        public virtual bool IsActive
        {
            get;set;
        }

        /// <summary>
        /// 充送活动详情ID
        /// </summary>
        public virtual Guid? AdditionalRechargeId
        {
            get;set;
        }

        public virtual AddtionalRecharge? AdditionalRecharge
        {
            get;set;
        }

        /// <summary>
        /// 会员优惠活动详情Id
        /// </summary>
        public virtual Guid? VipDiscountId
        {
            get;set;
        }

        /// <summary>
        /// 会员优惠活动详情
        /// </summary>
        public virtual VipDisCount? VipDisCount
        {
            get;set;
        }

        /// <summary>
        /// 尝鲜活动详情ID
        /// </summary>
        public virtual Guid? TasteFreshId
        {
            get;set;
        }

        /// <summary>
        /// 尝鲜活动
        /// </summary>
        public virtual TasteFresh? TasteFresh
        {
            get;set;
        }
    }
}
